package site.wanjiahao.factory;

import site.wanjiahao.service.UserService;
import site.wanjiahao.service.impl.UserServiceMemoryImpl;

public class UserServiceFactory {

    // 基于内存实现的UserService
    private static final UserService userService = new UserServiceMemoryImpl();

    public static UserService getUserService() {
        return userService;
    }

}
